/**
 *全局设置 
 */
Ext.Loader.setConfig({
	//动态加载
	enabled:true
});
Ext.Loader.setPath('Ext.ux', './core/coreApp/utils/ux'); 
Ext.require([ 
    'Ext.tree.*',
    'Ext.data.*',
    'Ext.tip.*',
    'Ext.ux.form.SearchField' 
]); 
Ext.onReady(function(){
	Ext.QuickTips.init();
	Ext.Loader.setConfig({
		enabled:true
	});
	Ext.application({
		name:"core",
		appFolder:"core/coreApp",
		launch:function(){ 
			Ext.create("Ext.container.Viewport",{
				layout:"fit",
				border:0,
				items:[{
					xtype:"mainview"
				}]
			});
		},
		controllers:[
			"core.app.controller.MainController"
		]
	});
});